package models

import (
	"github.com/goravel/framework/database/orm"
	"github.com/goravel/framework/support/carbon"
)

type SysUser struct {
	orm.Model
	Name          string
	Email         string
	Password      string
	PwdUpdateAt   carbon.DateTime
	Phone         string
	Avatar        string
	Status        int
	LastLoginIp   string
	LastLoginTime carbon.DateTime
}

func NewSysUser() *SysUser {
	return &SysUser{}
}

func (SysUser) TableName() string {
	return "sys_user"
}
